package jmetal.problems.adaboost;


public abstract class Function {
	
	public int dimensions;
	public double[] minVelocity;
	public double[] maxVelocity;
	
	public abstract double[] compute(double[] classifiers);
	public abstract void init(int numberOfClassifiers, String imagesPath);
	public abstract boolean isBetterThan(double a, double b);
	//public abstract void randomizeVariables(Solution[] solution);

	public Function(int numberOfClassifiers, String path){
		this.dimensions = numberOfClassifiers * Config.NUMBER_OF_PARAMETERS;
		this.maxVelocity = null;
		this.maxVelocity = null;
	}
}
